package aer.QueLadoCalle;

import java.io.*;
import java.util.*;

public class QueLadoCalle {
	public static void main(String[] args) throws Exception {
		PrintWriter out = new PrintWriter(System.out);
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int numero = Integer.parseInt(br.readLine());
		while (numero != 0) {
			if ((numero & 1) == 1) {
				out.print("IZQUIERDA\n");
			} else {
				out.print("DERECHA\n");
			}
			numero = Integer.parseInt(br.readLine());
		}

		out.flush();

	}
}